#!/usr/bin/python
# -*- coding: utf-8 -*-
#coding=utf-8

import arrayDemo
import branchDemo
import classDemo
import dicDemo
#import datetimeDemo
import encryptDemo
import fileDemo
import jsonDemo
import mathDemo
import randomDemo
import stringDemo
import tupleDemo
import setDemo
import zipDemo
import datetimeDemo as tsLog
import multiyProcessDemo
import multiThreadDemo
import timmerDemo

# 函数形参区别与其他编程语言的地方
def funcTest(x=[]):
    x.append(1)
    return x

if __name__ == '__main__':
    tsLog.logTsBegin("demo begin")
    arrayDemo.demo()
    branchDemo.demo()
    dicDemo.demo()
    tsLog.demo()
    jsonDemo.demo()
    mathDemo.demo()
    randomDemo.demo()
    stringDemo.demo()
    tupleDemo.demo()
    setDemo.demo()
    classDemo.demo()
    fileDemo.demo()
    zipDemo.demo()
    encryptDemo.demo()
    multiyProcessDemo.demo()
    multiThreadDemo.demo()
    timmerDemo.demo()

    print(funcTest()) # [1]
    print(funcTest()) # [1, 1]
    print(funcTest()) # [1, 1, 1]

